package com.eedi.framework.org.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.org.enmus.LinksTypeEnum;
import com.eedi.framework.tenant.core.db.TenantBaseDO;
import lombok.*;

/**
 * 机构通用配置--友情链接配置信息实体
 *
 * @author zybourn
 */
@TableName(value = "sys_org_config_links", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysOrgConfigLinksDO extends TenantBaseDO {

    @TableId(type = IdType.ASSIGN_UUID)
    private String orgConfigLinksId;

    /**
     * 机构配置信息主表ID
     */
    private String orgConfigId;

    /**
     * 友情链接名称
     */
    private String linksName;

    /**
     * 友情链接分类
     * 关联 {@link LinksTypeEnum }
     */
    private LinksTypeEnum linksType;

    /**
     * 友情链接状态
     */
    private CommonStatusEnum linksStatus;

    /**
     *  友情链接排序
     */
    private Integer linksSort;

    /**
     * 友情链接描述
     */
    private String linksDesc;

    /**
     * 友情链接的URL
     */
    private String linksUrl;
}
